package org.lark.controller;


import com.alibaba.fastjson.JSONObject;
import org.lark.model.dto.BatchRequest;
import org.lark.model.dto.ProductSynDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OmsProductSynCtrl {

    /**
     * 商品同步接口
     *
     * @param productList
     * @return
     */
    @PostMapping(value = "p/cs/lark/product/list")
    public String productListSyn(@RequestBody(required=false) BatchRequest<ProductSynDTO> productList) throws Exception {
        return "success";
    }
}
